package com.java.core1.chapter3;

import java.io.IOException;
import java.io.PrintWriter;
import java.nio.file.Paths;
import java.util.Scanner;

/**
* @author ClearScenery
* @version 创建时间：2019年4月1日 上午11:26:54
* @ClassName IOTest
* @Description 
*/
public class IOTest {
	public static void main(String[] args) {
		try {
//			Scanner sc = new Scanner(Paths.get("static/file/test.txt"), "UTF-8");
//			System.out.println(sc.nextLine());
			PrintWriter pw = new PrintWriter("static/file/test.txt");
			pw.write("ss");
			pw.close();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
}
